// sass-lint:disable-all
@mixin icomoon {
    @font-face {
        font-family: 'Icomoon';
        src: url('/assets/fonts/Icomoon/icomoon.eot?pjsjp3');
        src: url('/assets/fonts/Icomoon/icomoon.eot?pjsjp3#iefix') format('embedded-opentype'), url('/assets/fonts/Icomoon/icomoon.ttf?pjsjp3') format('truetype'), url('/assets/fonts/Icomoon/icomoon.woff?pjsjp3') format('woff'), url('/assets/fonts/Icomoon/icomoon.svg?pjsjp3#Icomoon') format('svg');
        font-weight: normal;
        font-style: normal;
    }

    [class^='icon-'], [class*=' icon-'] {
        /* use !important to prevent issues with browser extensions that change fonts */
        font-family: 'Icomoon' !important;
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        /* Better Font Rendering =========== */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

@function unicode($str){
    @return unquote('\'') + unquote(str-insert($str, '\\', 1)) + unquote('\'');
}

@mixin icomoon-generate($icons) {
    @include icomoon();
    
    @each $key, $value in $icons {
        .icon-#{$key}:before {
            content: unicode($value);
        }
    }
}